package com.example.wastewater.dao.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@TableName("tb_water_data_predit")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class WaterDataPreditDO {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;  // 主键，自增标识符

    @TableField("orgin_id")
    private Long orginId;  // 原始废水数据id

    @TableField("biological_oxygen_demand_predit")
    private Integer biologicalOxygenDemandPredit;  // 预测的生化需氧量

    @TableField(value = "created_at")
    private Timestamp createdAt;  // 创建时间

    @TableField(value = "updated_at")
    private Timestamp updatedAt;  // 更新时间

    @TableLogic
    @TableField("del_flag")
    private Boolean delFlag;  // 删除标志
}
